import { createRouter, createWebHashHistory } from 'vue-router'

import Home from './views/Home.vue'
import About from './views/About.vue'

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/home',
      // component: Home
      components: {
        left: Home,
        default: About
      }
    },
    {
      path: '/about',
      components: {
        left: About,
        default: Home
      }
    }
  ]
})


export default router